/* General Reset */
* {
  box-sizing: border-box;
}

body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: Arial, sans-serif;
}

/* Container Styles */
.container {
  display: flex;
  height: 100vh;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

/* Columns */
.left-column, .right-column {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.left-column img {
  max-width: 100%;
  height: 100vh;
  object-fit: cover;
}

.right-column {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

/* Form Container */
.form-container {
  padding: 40px;
  border-radius: 10px;
  width: 100%;
  max-width: 600px;
  background: #fff; /* Ensure background color for readability */
}

.login-title {
  color: #333;
  font-size: 28px; /* Ensure title size */
  margin-bottom: 20px;
}

.login-subtitle {
  color: #666;
  font-size: 18px; /* Ensure subtitle size */
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 15px;
  position: relative;
}

.form-group input {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ddd;
}

.toggle-password {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  cursor: pointer;
}

.toggle-password img {
  width: 20px; /* Set appropriate width */
  height: auto;
}

.submit-button {
  width: 100%;
  padding: 10px;
  background-color: #ffca28;
  border: none;
  color: #000;
  cursor: pointer;
  border-radius: 5px;
  font-size: 16px;
}

.submit-button:hover {
  background-color: #ffc107;
}

.text-end {
  text-align: end;
}

.text-center {
  text-align: center;
}

.error-message {
  color: red;
  font-size: 14px;
  margin-top: 5px;
}

/* Responsive Styles */
@media (max-width: 767px) {
  .container {
    flex-direction: column;
    align-items: center;
  }

  .left-column, .right-column {
    width: 100%;
  }

  .left-column {
    order: 1;
  }

  .right-column {
    order: 2;
    padding-top: 0;
  }

  .left-column img {
    height: auto;
  }

  .toggle-password img {
    width: 16px; /* Adjust for mobile */
  }
}
